#include <QCoreApplication>
#include <math.h>
#include <iostream>
using namespace std;
int main()
{
    double a;
    double b;
    double c;

    cout<<"vvedite rebro a:\n";
    cin>>a;
    cout<<"vvedite rebro b:\n";
    cin>>b;
    cout<<"vvedite rebro c:\n";
    cin>>c;
    cout<<"V parallelepipeda= "<<a*b*c<<"\n";
    cout<<"S parallelepipeda= "<<2*(a*b+b*c+a*c)<<"\n";

//все верно
    return 0;
}
